package com.newer.dao.bean.sys;

import java.util.Date;
import java.util.List;

public class Menu {
    private String id;

    private String menuName;

    private String pid;

    private Integer status;

    private String creater;

    private String createId;

    private Date createTime;

    private String modify;

    private Date modifyTime;

    private String icons;

    private String menuUrl;

    private String isButton;

    private Boolean checked;

    private Boolean open;

    // 菜单权限对象
    private List<MenuPermission> menuPermissions;

    // 是否需要权限控制
    private Integer needPermission;

    // 子菜单信息
    private List<Menu> menus;

    // 菜单权限关系类型
    private Integer relType;

    public Integer getNeedPermission() {
        return needPermission;
    }

    public void setNeedPermission(Integer needPermission) {
        this.needPermission = needPermission;
    }

    public List<MenuPermission> getMenuPermissions() {
        return menuPermissions;
    }

    public void setMenuPermissions(List<MenuPermission> menuPermissions) {
        this.menuPermissions = menuPermissions;
    }

    public String getIsButton() {
        return isButton;
    }

    public void setIsButton(String isButton) {
        this.isButton = isButton;
    }

    public List<Menu> getMenus() {
        return menus;
    }

    public void setMenus(List<Menu> menus) {
        this.menus = menus;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName == null ? null : menuName.trim();
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid == null ? null : pid.trim();
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater == null ? null : creater.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModify() {
        return modify;
    }

    public void setModify(String modify) {
        this.modify = modify == null ? null : modify.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getIcons() {
        return icons;
    }

    public void setIcons(String icons) {
        this.icons = icons;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public Integer getRelType() {
        return relType;
    }

    public void setRelType(Integer relType) {
        this.relType = relType;
    }
}